package com.san.school.mapper;

import com.san.school.entity.Teacher;
import com.san.school.entity.TeacherExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:TeacherMapper
 * PackageName:com.san.school.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/6 18:07
 */


public interface TeacherMapper {
    long countByExample(TeacherExample example);

    int deleteByExample(TeacherExample example);

    int deleteByPrimaryKey(Integer tid);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    List<Teacher> selectByExample(TeacherExample example);

    Teacher selectByPrimaryKey(Integer tid);

    int updateByExampleSelective(@Param("record") Teacher record, @Param("example") TeacherExample example);

    int updateByExample(@Param("record") Teacher record, @Param("example") TeacherExample example);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);
}